﻿using System;
using System.Data;
namespace Interface_Tier
{
    public interface IHRM_CONTRACTData
    {
        int HRM_CONTRACT_Delete(string ContractCode);
        int HRM_CONTRACT_Disable(string ContractCode, ref bool Enabled);
        System.Data.DataSet HRM_CONTRACT_Get(string ContractCode);
        System.Data.DataSet HRM_CONTRACT_GetList();
        int HRM_CONTRACT_Insert(string ContractCode, string EmployeeCode, int ContractType, string ContractTime, DateTime SignDate, DateTime FromDate, DateTime ToDate, decimal BasicSalary, string PayForm, string PayDate, string Allowance, string Insurance, string WorkTime, decimal Compensation, string Signer, string SignerPosition, string SignerNationality, string Company, string Address, string Tel, string CreatePlace, string Subject, string Description, bool IsCurrent);
        int HRM_CONTRACT_Save(string ContractCode, string EmployeeCode, int ContractType, string ContractTime, DateTime SignDate, DateTime FromDate, DateTime ToDate, decimal BasicSalary, string PayForm, string PayDate, string Allowance, string Insurance, string WorkTime, decimal Compensation, string Signer, string SignerPosition, string SignerNationality, string Company, string Address, string Tel, string CreatePlace, string Subject, string Description, bool IsCurrent);
        int HRM_CONTRACT_Update(string ContractCode, string EmployeeCode, int ContractType, string ContractTime, DateTime SignDate, DateTime FromDate, DateTime ToDate, decimal BasicSalary, string PayForm, string PayDate, string Allowance, string Insurance, string WorkTime, decimal Compensation, string Signer, string SignerPosition, string SignerNationality, string Company, string Address, string Tel, string CreatePlace, string Subject, string Description, bool IsCurrent);

        DataSet HRM_CONTRACT_GetByContract(String ContractCode, String EmployeeCode);
        DataSet HRM_CONTRACT_GetByEmployee(String EmployeeCode);
        DataSet HRM_CONTRACT_GetCurrentList();
        DataSet HRM_CONTRACT_GetListByBranch(String BranchCode);
        DataSet HRM_CONTRACT_GetListByDepartment(String DepartmentCode);
        DataSet HRM_CONTRACT_GetListByGroup(String GroupCode);
        DataSet HRM_CONTRACT_GetListExpiration();
        DataSet HRM_CONTRACT_GetListJustExpiration();
        //neu bi loi namespace nhu tren thi nhan nhan chuot phai chon resolve
    }
}
